package com.itheima.io;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;

/**
 * @author Anomaly
 * @date 2023/2/8 22:00
 */
public class FileInputStreamDemo3 {
    public static void main(String[] args) throws IOException {
        InputStream is = new FileInputStream("file-io/src/test.txt");

        byte[] bytes = is.readAllBytes();
        System.out.println(Arrays.toString(bytes));
    }
}
